home *** CD-ROM | disk | other *** search
/ Trusted Irix /B 4.0.4 / Trusted-Irix B-4.0.1.iso / dist / eoe1.idb / .cshrc.z / .cshrc (.txt)
Text File  |  1992-04-03  |  595b  |  22 lines

  1. # root's csh settings
  2. #
  3. # "$Revision: 1.10 $"
  4.  
  5. # List directories in columns and show hidden files
  6. alias ls 'ls -CA'
  7.  
  8. # Remember last 100 commands
  9. set history = 100
  10.  
  11. # For interactive shells, set the prompt to show the host name and event number.
  12. if ( $?prompt ) then
  13.     if ( -o /bin/su ) then
  14.         # The sed command removes the domain from the host name.
  15.         # `hostname -s` accomplishes the same but it's not available
  16.         # when /usr is not mounted.
  17.         set prompt=`sed -e '/^ *$/d' -e 's/\..*//' </etc/sys_id`" \!# "
  18.     else
  19.         set prompt=`sed -e '/^ *$/d' -e 's/\..*//' </etc/sys_id`" \!% "
  20.     endif
  21. endif
  22.